/*
#ifndef FILE_H
#define FILE_H

#include <fstream>
#include <fat.h>
#include <stdlib.h>

class File
{
public:
	bool Open(const std::string& filename);

	bool GetInt(int* pInt);

	bool GetFloat(float* pFloat);

	bool GetString(std::string* pString);

	bool EndOfFile() const;

	static void ReportError(const std::string error);

private:
	std::ifstream m_ifstream;
};


#endif
*/

#ifndef FILE_H
#define FILE_H

#include <stdio.h>

class File
{
public:

	bool Open(const char* filename);
	bool GetInt(int *pInt);
	bool GetFloat(float *pFloat);
	bool GetString(char *pString);
	bool EndOfFile();

private:

	FILE* m_pFile;
};

#endif